package com.tunxing.结构型.装饰者设计模式;

public class JiaQiangSimpleTxtPrint extends TxtPrintDecorator {

    public JiaQiangSimpleTxtPrint(TxtPrint txtPrint) {
        super(txtPrint);
    }

    @Override
    public void print() {
        System.out.println("加粗");
        txtPrint.print();
    }
}
